package org.jiusan.lizi.strategy;

public class Main {
	public static void main(String[] args) {
		int i = 1432723;
		while(i!=0){
			int temp = i % 10;
			if(temp==7){
				System.out.println("z");
				break;
			}
			i = i/10;
		}
	}

	public static void complex(Animal animal) {
		new AnimalJudge(animal).exe();
	}

	public static void simple(Animal animal){
		if(animal instanceof Dog){
			System.out.println("汪汪汪");
		}else if(animal instanceof Cat){
			System.out.println("喵喵喵");
		}else if (animal instanceof Wolf) {
			System.out.println("嗷嗷嗷");
		}
		if(animal instanceof Dog){
			
		}
	}
}
